<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="flex justify-between items-center mb-4">
    <h2 class="text-2xl font-bold">
        <c:if test="${icon != null}">
            <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-${icon.color}" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="${icon.path}"></path>
            </svg>
        </c:if>
        ${title}
    </h2>
    <a href="${moreLink}" class="btn btn-ghost btn-sm">更多 ></a>
</div>
